package com.kaili.basic.pojo.vo;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.excel.annotation.ExcelTarget;
import com.kaili.common.pojo.vo.BaseVo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
@ApiModel(description = "分组管理查所有VO")
@ExcelTarget("MdmGroupExport")
public class MdmGroupQueryAllVo extends BaseVo {
    @ApiModelProperty("分组ID")
    private Long id;

    @Excel(name = "分组编号", orderNum = "1")
    @ApiModelProperty("分组编号")
    private String groupCode;

    @Excel(name = "分组名称", orderNum = "2")
    @ApiModelProperty("分组名称")
    private String groupName;

    @ApiModelProperty("上级分组ID")
    private String parentId;

    @Excel(name = "上级分组", orderNum = "3")
    @ApiModelProperty("上级分组名称")
    private String parentName;


    @ApiModelProperty("所属机构ID")
    private Long orgId;

    @Excel(name = "所属机构", orderNum = "4")
    @ApiModelProperty("所属机构名称")
    private String orgName;

    @Excel(name = "备注", orderNum = "5")
    @ApiModelProperty("分组备注")
    private String remark;

    @Excel(name = "创建人ID", orderNum = "6")
    @ApiModelProperty("创建人ID")
    private Integer createBy;

    @Excel(name = "创建时间", orderNum = "7",format = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty("创建时间")
    private Date createTime;



}
